package com.project.service;

import com.project.entity.po.Card;
import com.project.entity.qo.CardQo;
import com.project.result.ResponseResult;

/**
 * @ProjectName:
 * @Package:
 * @ClassName:
 * @Author: ZhaoLongShi
 * @CreateDate:
 */
@SuppressWarnings("all")

public interface CardService {
    /**
     * 查询所有卡类别
     *
     * @return
     */
    ResponseResult selectAllCard();

    /**
     * 添加卡类别
     *
     * @param card
     * @return
     */
    ResponseResult addCard(CardQo cardQo);

    /**
     * 更新卡类别
     *
     * @param card
     * @return
     */
    ResponseResult updateCard(CardQo cardQo);

    /**
     * 根据ID删除卡类别
     *
     * @param cardId
     * @return
     */
    ResponseResult deleteCard(Long cardId);
}
